.container {
  height: 100vh;
  /* 容器是垂直布局 */
  display: flex;
  flex-direction: column;
}

/* 图片区域填满 */
.images {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* 上方菜单布局 */
.menus {
  display: flex;
  justify-content: space-between;
  background-color: #2c2c2c;
  color: #cccccc;
}

/* 上方左菜单 */
.menus-left {
  display: flex;
  align-items: center;
}
.menus-left img {
  height: 2rem;
}
.menus-left > span {
  display: inline-block;
  margin: 0px 0.5rem;
}

.khd {
  display: inline-block;
  background-color: #0078f2;
  color: #fff;
  padding: 1rem 2rem;
}

/* 图片区域 */
.img-box {
  position: absolute;
  overflow: hidden;
  width: 33.33333%;
  top: 0px;
  left: 0px;
  height: 100%;
}

.img-box img {
  display: block;
  transform: scale(1);
  filter: brightness(0.6);
  transition: all 0.5s;
}

.img-box:hover img {
  cursor: pointer;
  filter: brightness(1);
  transform: scale(1.05);
}

.img-box.active {
  width: 100%;
  z-index: 100;
  transition: all 1s;
}

.img-box.active img,
.img-box.active:hover img {
  filter: brightness(1);
  transform: scale(1);
}

/* 关闭按钮 */
.close-box {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 2rem;
  display: none;
  cursor: pointer;
}
